package com.qfedu.openplateform.manager.dao;

import com.qfedu.openplateform.manager.entity.AppInfo;
import com.qfedu.openplateform.manager.entity.Customer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface CustomerMapper {

    //查询所有客户
    List<Customer> SelectAllCustomer();
    //更新客户
    int updateCustomer(Customer customer);
    //删除客户
    int deleteCustomer(Integer ids);
    //添加客户
    int addCustomer(Customer customer);
    //模糊查询
    List<Customer> SelectCustomerByName(@Param("state") Integer state,@Param("name")String name);

}
